import {environment} from '../../environments/environment';

const PATH = environment.config['url'];
// const GATEWAY1 = '/disk';
const GATEWAY1 = '';
export const HTTP_URLS = {
  getVerifyCode: PATH + GATEWAY1 + '/verify/code', // 获取验证码
  verifyAccount: PATH + GATEWAY1 + '/verify/account', // 验证账号
  login: PATH + GATEWAY1 + '/login', // 登录
  register: PATH + GATEWAY1 + '/register', // 注册
  forget: PATH + GATEWAY1 + '/forget', // 找回密码
  updatePassword: PATH + GATEWAY1 + '/password', // 修改密码
  sendMailVerifyCode: PATH + GATEWAY1 + '/send/mail/verify/code', // 发送邮箱验证码
  deleteToken: PATH + GATEWAY1 + '/token/delete', // 删除token
  updateUserInfo: PATH + GATEWAY1 + '/user', // 更新用户信息
  getUserByToken: PATH + GATEWAY1 + '/user', // 根据token获取用户信息

  getDownloadUrl: PATH + GATEWAY1 + '/download/url/', // 下载文件
  createFolder: PATH + GATEWAY1 + '/folder', // 创建目录
  getFolderAndFileList: PATH + GATEWAY1 + '/folder/file/list', // 获取文件和目录集合
  deleteFolderAndFileByIds: PATH + GATEWAY1 + '/folder/file', // 更具id集合删除目录和文件
  createFile: PATH + GATEWAY1 + '/file', // 创建文件
  moveFileFolder: PATH + GATEWAY1 + '/file/folder/move', // 移动文件
  copyFileFolder: PATH + GATEWAY1 + '/file/folder/copy', // 移动文件
  updateFile: PATH + GATEWAY1 + '/file/', // 修改文件
  updateFolder: PATH + GATEWAY1 + '/folder/', // 修改目录
  downloadDev: PATH + GATEWAY1 + '/download/dev/', // 开发文件下载

  shareVerify: PATH + GATEWAY1 + '/share/verify', // 验证提取码
  inspectShareFile: PATH + GATEWAY1 + '/share/inspect/', // 验证共享文件是否需要提取码
  shareFile: PATH + GATEWAY1 + '/share/file/', // 查询共享文件
  shareDownload: PATH + GATEWAY1 + '/share/download/', // 下载共享文件
  deleteShareFile: PATH + GATEWAY1 + '/share/file/', //  删除共享文件
  createShareFile: PATH + GATEWAY1 + '/share/file', // 创建共享文件
  getShareFileList: PATH + GATEWAY1 + '/share/file/list', //  获取共享文件


  getSafetyChainPaging: PATH + GATEWAY1 + '/safety/chain/paging/', // 查询安全链接
  createSafetyChain: PATH + GATEWAY1 + '/safety/chain', // 创建安全链接
  updateSafetyChain: PATH + GATEWAY1 + '/safety/chain/', // 更新安全链接
  deleteSafetyChain: PATH + GATEWAY1 + '/safety/chain/' // 删除安全链接

};
// export const FRONT_END_URLS = {
//   login: ''
// };

